<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>微信首页</title>
    <style>
        body {
            /*横向平铺*/
            background: url("../image/wx_menu_bg.jpg") repeat-x;
        }

        li {
            list-style: none;
            float: left;
            padding: 0 15px;
        }

        .nav a {
            background: url("../image/wx_menu_to.png");
            text-decoration: none;
            display: inline-block;
            line-height: 33px;
            padding-left: 15px;
        }

        .nav span {
            /*行高、高度继承父元素*/
            color: #EEEEEE;
            padding-right: 15px;
            display: inline-block;
            background: url("../image/wx_menu_to.png") no-repeat right;
        }

        /*鼠标经过改变背景*/
        /*此处如果使用background，还需要在后面添加定位比较麻烦所以直接使用background-image*/
        /*要找到span，需要使用a:hover下的span*/
        .nav a:hover, .nav a:hover span {
            background-image: url("../image/wx_menu_ao.png");
        }

    </style>
</head>
<body>

<div class="nav">
    <ul>
        <li>
            <a href="#"><span>首页</span></a>
        </li>
    </ul>
    <ul>
        <li>
            <a href="#"><span>个人中心</span></a>
        </li>
    </ul>
    <ul>
        <li>
            <a href="#"><span>帮助与中心</span></a>
        </li>
    </ul>
    <ul>
        <li>
            <a href="#"><span>意见反馈</span></a>
        </li>
    </ul>
</div>

</body>
</html>